import Router from 'vue-router'
import Vue from '../vue'
import App from '../component/app/app.vue'
import HualinList from '../component/activity/hualin/hualin-list/hualin-list.vue'
import HualinInviteList from '../component/activity/hualin/invite-list/invite-list.vue'

Vue.use(Router)

var app = Vue.extend(App)
var router = new Router()

router.map({
  '/': {
    component: HualinList
  },
  '/invite/:phone': {
    component: HualinInviteList
  }
})

router.start(app, 'app')
